﻿# CMakeList.txt: onnx_test 的 CMake 项目，在此处包括源代码并定义
# 项目特定的逻辑。
#
cmake_minimum_required (VERSION 3.8)

project ("onnx_test")

# 将源代码添加到此项目的可执行文件。
add_executable (onnx_test "onnx_test.cpp" "onnx_test.h")

if (CMAKE_VERSION VERSION_GREATER 3.12)
  set_property(TARGET onnx_test PROPERTY CXX_STANDARD 14)
endif()


include_directories("C:/Users/11139/Documents/GITEE/onnx_runtime_test/onnx_test/onnx_gpu/include")

link_directories("C:/Users/11139/Documents/GITEE/onnx_runtime_test/onnx_test/onnx_gpu/lib")

link_libraries("C:/Users/11139/Documents/GITEE/onnx_runtime_test/onnx_test/onnx_gpu/lib")

target_link_libraries(onnx_test C:/Users/11139/Documents/GITEE/onnx_runtime_test/onnx_test/onnx_gpu/lib/onnxruntime.lib)
# TODO: 如有需要，请添加测试并安装目标。
